package com.example.zzh.service.impl;

import com.example.zzh.entity.ZzhFunction;
import com.example.zzh.entity.ZzhProduct;
import com.example.zzh.mapper.ZzhFunctionMapper;
import com.example.zzh.mapper.ZzhProductMapper;
import com.example.zzh.service.ZzhFunctionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 功能模块表 服务实现类
 * </p>
 *
 * @author zzh
 * @since 2023-07-28
 */
@Service
public class ZzhFunctionServiceImpl extends ServiceImpl<ZzhFunctionMapper, ZzhFunction> implements ZzhFunctionService {

    @Resource
    private ZzhFunctionMapper zzhFunctionMapper;
    @Override
    public ZzhFunction getFunctionById(int id) {
        return zzhFunctionMapper.selectById(id);
    }
}
